package com.woniuxy.service;

import com.woniuxy.entity.Product;
import com.woniuxy.entity.utils.ResponseEntity;

/**
 * @Author: 马宇航
 * @Description: 商品服务的业务层接口
 * @DateTime: 22/12/06/0006 10:23
 * @Component: 成都蜗牛学苑
 **/
public interface ProductService {
    Product add(Product product);

    ResponseEntity findOneById(Integer pid);

    ResponseEntity update(Product product);

    ResponseEntity findAllByNameOrPrice(String name, double minPrice, double maxPrice);
}
